package com.ht.constant.Enum;

/**
 * 状态枚举
 */
public enum JobStatusEnum {
    RUNNING("运行中", "RUNNING"),
    PAUSED("已暂停", "PAUSED");

    private final String name;
    private final String code;

    JobStatusEnum(String name, String page) {
        this.name = name;
        this.code = page;
    }

    public String getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
}
